package com.example.lemonservice.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DeviceTypeEnum {

    INSTRUMENT("INSTRUMENT", "仪表"),
    CONTROL("CONTROL", "控制");
    @EnumValue
    private String code;
    private String name;

    DeviceTypeEnum(String code,String name){
        this.code = code;
        this.name = name;
    }
}
